package cn.atimer.sdk.emmus;

import java.util.List;

public class AtimerRecurrencePattern {

	private String Type;//循环类型。可选值如下：daily：每天 weekly：每周 absoluteMonthly：每月指定日期，例如每月10号 relativeMonthly：每月相对日期，例如每月第二周星期三 absoluteYearly：每年指定日期，例如每年十月一号 relativeYearly：每年相对日期，例如每年6月第二个星期天
	
	private Integer Interval;//事件周期的间隔。
	
	private Integer Month;//某月(按年重复)
	
	private Integer DayOfMonth;//某日(按年/按月重复)
	
	private List<String> DaysOfWeek;//每周中的几日枚举值：sunday, monday, tuesday, wednesday, thursday, friday, saturday
	
	private String FirstDayOfWeek;//每周开始于某一天。枚举同DaysOfWeek。如果Type是Weekly，必填。默认值是Sunday
	
	private String Index;//每月的第几周。枚举：first, second, third, fourth, last。默认值first

	public String getType() {
		return Type;
	}

	public void setType(String type) {
		Type = type;
	}

	public Integer getInterval() {
		return Interval;
	}

	public void setInterval(Integer interval) {
		Interval = interval;
	}

	public Integer getMonth() {
		return Month;
	}

	public void setMonth(Integer month) {
		Month = month;
	}

	public Integer getDayOfMonth() {
		return DayOfMonth;
	}

	public void setDayOfMonth(Integer dayOfMonth) {
		DayOfMonth = dayOfMonth;
	}

	public List<String> getDaysOfWeek() {
		return DaysOfWeek;
	}

	public void setDaysOfWeek(List<String> daysOfWeek) {
		DaysOfWeek = daysOfWeek;
	}

	public String getFirstDayOfWeek() {
		return FirstDayOfWeek;
	}

	public void setFirstDayOfWeek(String firstDayOfWeek) {
		FirstDayOfWeek = firstDayOfWeek;
	}

	public String getIndex() {
		return Index;
	}

	public void setIndex(String index) {
		Index = index;
	}
	
	
}
